Ext.define('AmpleHarvest.util.linkParser', 
{
    extend	: 'Ext.Class',
    statics	: 
    {
   		getAddress	: function(str_ItemID ,str_ServerID)
   		{
   			var str_Link = "";
   			if(!str_ServerID)
   			{
   				alert("You need to create a default parser for links.");
   			}
   			
   			if(!str_ItemID)
   			{
   				alert("You need to Pass an ID of the item you wish to display.");
   			}
   			
   			// Open Default Article
   			if(str_ServerID == 1)
   			{
   				str_Link = obj_config.C_STR_DEFAULT_ARTICLE;
   				str_Link = str_Link.replace("{id}",str_ItemID);
   			}
   			

			return str_Link;
   		}
    }
});